package com.xjm.i1.convert;

import com.xjm.i1.core.struct.node.write.ExcelContrast;
import com.xjm.i1.entity.ColorContrastArea;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ExcelContrastConvert {

    ExcelContrastConvert INSTANCE = Mappers.getMapper(ExcelContrastConvert.class);

    List<ExcelContrast> convert(List<ColorContrastArea> colorContrastAreas);

    ExcelContrast convert(ColorContrastArea colorContrastAreas);
}
